﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Telerik.Web.Mvc;
using Microhard.Permission.Models;
using Microhard.Framework.MVCHelper;
using Microhard.Permission.Interface;
using Microsoft.Practices.Unity;
using Telerik.Web.Mvc.UI;
using System.Collections;
using FluentValidation.Mvc;

namespace Microhard.WebUI.Areas.Admin.Controllers
{
    public class PermissionController : MicroHardBaseController<Microhard.Permission.Models.Permission>
    {
        private IFuncAuthorization _operation = null;
        [Dependency]
        public IFuncAuthorization operation
        {
            set
            {
                base._repository = value;
                _operation = value;
            }
            get
            {
                return _operation;
            }
        }
    }
}
